package com.xyzh.stj.web.service;

import com.xyzh.stj.web.entity.OrganizationEntity;
import com.xyzh.stj.web.vo.system.OrganizationPrems;
import com.xyzh.stj.web.vo.system.OrganizationVo;
import com.xyzh.application.base.service.BasicService;

import java.util.List;

/**
 * <p>
 * 组织机构 服务类
 * </p>
 *
 * @author @JZB
 * @since 2023-10-29
 */
public interface OrganizationService extends BasicService<OrganizationEntity> {

    List<OrganizationVo> selectAllCompany(OrganizationEntity organizationEntity);

    List<String> getSubOrgidsByParent(List<OrganizationEntity> organizationEntities);

    List<String>  getSubOrgidsByParentId(String parentId);

    List<OrganizationEntity> getOrganizations(String userid);

    List<OrganizationPrems> selectOrganizationTree();
}
